package com.zx.idc.backend.gui.config.aspect;

import java.io.Serializable;
import java.util.Map;

/**
 * web 访问日志实体类
 *
 * @author rxliuli
 */
public class WebLog implements Serializable {
    private String ip;
    private String url;
    private Map<String, String[]> params;
    private String httpMethod;
    private Integer sysUserId;
    private Integer status;

    public WebLog() {
    }

    public WebLog(String ip, String url, Map<String, String[]> params, String httpMethod, Integer sysUserId) {
        this.ip = ip;
        this.url = url;
        this.params = params;
        this.httpMethod = httpMethod;
        this.sysUserId = sysUserId;
    }

    public String getIp() {
        return ip;
    }

    public WebLog setIp(String ip) {
        this.ip = ip;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public WebLog setUrl(String url) {
        this.url = url;
        return this;
    }

    public Map<String, String[]> getParams() {
        return params;
    }

    public WebLog setParams(Map<String, String[]> params) {
        this.params = params;
        return this;
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public WebLog setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
        return this;
    }

    public Integer getSysUserId() {
        return sysUserId;
    }

    public WebLog setSysUserId(Integer sysUserId) {
        this.sysUserId = sysUserId;
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public WebLog setStatus(Integer status) {
        this.status = status;
        return this;
    }
}
